package com.mwcz.hot.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mwcz.hot.system.model.SystemCity;
import com.mwcz.hot.system.request.SystemCityRequest;
import com.mwcz.hot.system.request.SystemCitySearchRequest;

import java.util.List;

/**
 * SystemCityService 接口
 *
 * @author Mr.Bai
 * @since 2021-06-18
 */
public interface SystemCityService extends IService<SystemCity> {

    Object getList(SystemCitySearchRequest request);

    boolean updateStatus(Integer id, Boolean status);

    boolean update(Integer id, SystemCityRequest request);

    Object getListTree();

    List<Integer> getCityIdList();

    SystemCity getCityByCityId(Integer cityId);
}